import { CmdCode, EventCode } from '../../code/index';
import { CmdSignModel,LmShippingApiModel } from '../../models/index';
import { AHttpCmd } from '../base.cmd';

export class LmShippingApiGetCmd extends AHttpCmd {
    constructor(private id: number) {
        super();
    }

    req(): CmdSignModel {
        let model:LmShippingApiModel = new LmShippingApiModel();
        model.id = this.id;
        return super.buildCmdSign(model);
    }

    resp(data: any): void {
    }

    error(model: CmdSignModel): void {
    }

    getCmdCode(): string {
        return CmdCode.LM_SHIPPING_API_GET;
    }
}
